From 72c04c064a1b35673ef6e65bd1c0d3389c029bd4 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Wed, 21 Dec 2011 12:19:31 +0100 Subject: [PATCH] application: mark menu/menubar getters as (transfer none) Since they do not return a reference to the underlying GMenuModel. --- gtk/gtkapplication.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/gtkapplication.c b/gtk/gtkapplication.c index 30f3ff492d..5f428e241e 100644 --- a/gtk/gtkapplication.c +++ b/gtk/gtkapplication.c @@ -785,7 +785,7 @@ gtk_application_set_app_menu (GtkApplication *application, * Returns the menu model that has been set with * g_application_set_app_menu(). * - * Returns: the application menu of @application + * Returns: (transfer none): the application menu of @application * * Since: 3.4 */ @@ -833,7 +833,7 @@ gtk_application_set_menubar (GtkApplication *application, * Returns the menu model that has been set with * g_application_set_menubar(). * - * Returns: the menubar for windows of @application + * Returns: (transfer none): the menubar for windows of @application * * Since: 3.4 */ -- 2.30.2